angular.module('app').controller('goldCtrl', 
['$scope', '$rootScope', 'http',
function($scope, $rootScope, http) 
{
	function ngInit(){
		// 获取交易信息
		var reqUrl = globalConfig.web + '/gold/index';
		http.get(reqUrl, function(data, status){
			$scope.gold = data
		})
	}

	ngInit()
	
	
}]);